package com.boco.modules.fdoc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.boco.modules.fdoc.dao.DepartmentDao;
import com.boco.modules.fdoc.service.DepartmentService;
import com.boco.modules.fdoc.vo.TdepartmentVo;


@Service
public class DepartmentServiceImpl implements DepartmentService{

	@Resource
	DepartmentDao deptDao;
	
	@Override
	public List<TdepartmentVo> getHospitalFirstLevelDepts(TdepartmentVo vo) {
		return deptDao.getHospitalFirstLevelDepts(vo);
	}

	@Override
	public List<TdepartmentVo> getHospitalChildrenDepts(Integer id) {
		return deptDao.getHospitalChildrenDepts(id);
	}

}
